<?php
/* Customer Model parent class */
class AppModel extends Model {
    /* Make Cake.Behaviors.Contianable avaliable to all subclasses */
    public $actsAs = array('Containable', 'Eventful.Event');
    public function beforeFind(){
        $this->query('set names utf8');
    }
    public function beforeSave(){
        $this->query('set names utf8');
        return true;
    }
}
?>